
<template>
  <div class="lan-success-tips">
    <i class="iconfont iconchenggong lan-success-tips-icon"></i>
    <div class="lan-success-tips-text">{{text}}</div>
  </div>
</template>

<script>
export default {
  name: "successTips",
  data() {
    return {};
  },
  props: {
    text: {
      type: String,
      default: "操作成功"
    },
  }
};
</script>
<style lang="scss" scoped>
.lan-success-tips {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height:2rem;
  width:100%;
  .lan-success-tips-icon {
    font-size:0.75rem;
    color:#24D90C;
    line-height:0.75rem;
    margin-bottom:0.18rem;
    margin-top:0.33rem;
  }
  .lan-success-tips-text {
    font-size: 0.19rem;
    font-weight: 500;
    color: #3D3D3D;
  }
}
</style>

